package o;

import android.widget.TextView;

public class bsp {
    public static boolean ˋ() {
        return 2 == ContentManager.getInstant().getContext().getResources().getConfiguration().orientation || cdn.ॱॱ();
    }

    public static int ˏ(TextView textView, String str) {
        if (textView == null || cgy.ˎ(str)) {
            return 0;
        }
        return (((int) textView.getPaint().measureText(str)) + textView.getPaddingLeft()) + textView.getPaddingRight();
    }
}
